﻿using System;
using System.Collections.Generic;
using System.Text;
using System.IO;

namespace System
{
    public class ResourceExts
    {
        public const string Name = "Sofire.WinForm.Resources.TextEditor.";
        private readonly static System.Reflection.Assembly Assembly = typeof(ResourceExts).Assembly;

        private readonly static Version _Version = Assembly.GetName().Version;
        public static Version Version
        {
            get
            {
                return _Version;
            }
        }
        public static Stream GetStream(string name)
        {
            return Assembly.GetManifestResourceStream(Name + name);
        }
    }
}
